#ifndef __EZFB_NEW_TYPE_DEFINITIONS__
#define __EZFB_NEW_TYPE_DEFINITIONS__
#include "ezfb_includes.h"
#include "ezfb_macros.h"

typedef unsigned char	u_char ; 
typedef unsigned short	u_short ; 
typedef unsigned int	u_int ; 

struct ezfb {
	HRESULT             res_handle ;   // direct draw api result
	LPDIRECTDRAW        dd_ptr ;       // direct draw object ptr
	DDSURFACEDESC       dds_desc ;	   // direct draw surface desc obj
	LPDIRECTDRAWSURFACE dds_ptr ;      // direct draw surface ptr
	u_short*			vga_ptr ;	   // points to frame buffer of screen 
	u_int				scr_width ; 
	u_int				scr_height ; 
	u_int				scr_bpp ;
};

struct ezfb_rectangle
{
    int x1     ;
    int y1     ;
    int x2     ;
    int y2     ;
    int height ;
    int width  ;
};

struct ezfb_point 
{
   int x ; 
   int y ; 
};
#endif

